#define  _CRT_SECURE_NO_WARNINGS
#include"BSTree.h"
int main()
{
	int a[] = { 8,3,1,10,6,4,7,14,13 };
	BSTree<int> t;
	for (auto e : a)
	{
		t.Insert(e);
	}
	t._InOder();
	for (auto e : a)
	{
		t.Erase(e);
		cout << endl;
		t._InOder();
	}
	
	return 0;
}